package com.registration.bean;

import java.util.Date;

public class LogBean {
    private Integer log_id;//日志id
    private String method;//方法名
    private String business;//具体业务
    private Integer  pc_user_id;//操作人ID（系统日志填system）
    private String  real_name;//操作人姓名
    private Integer status;//状态：0-失败，1-成功，2-处理中
    private String log_content;//日志简短描述
    private Date create_time;//日志生成时间


    public LogBean() {
    }

    public LogBean(Integer log_id,String method, String business, Integer pc_user_id, String real_name, Integer status, String log_content, Date create_time) {
        this.log_id = log_id;
        this.method = method;
        this.business = business;
        this.pc_user_id = pc_user_id;
        this.real_name = real_name;
        this.status = status;
        this.log_content = log_content;
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        return "LogBean{" +
                "log_id=" + log_id +
                ", method='" + method + '\'' +
                ", business='" + business + '\'' +
                ", pc_user_id=" + pc_user_id +
                ", real_name='" + real_name + '\'' +
                ", status=" + status +
                ", log_content='" + log_content + '\'' +
                ", create_time=" + create_time +
                '}';
    }

    public Integer getLog_id() {
        return log_id;
    }

    public void setLog_id(Integer log_id) {
        this.log_id = log_id;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getBusiness() {
        return business;
    }

    public void setBusiness(String business) {
        this.business = business;
    }

    public Integer getPc_user_id() {
        return pc_user_id;
    }

    public void setPc_user_id(Integer pc_user_id) {
        this.pc_user_id = pc_user_id;
    }

    public String getReal_name() {
        return real_name;
    }

    public void setReal_name(String real_name) {
        this.real_name = real_name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getLog_content() {
        return log_content;
    }

    public void setLog_content(String log_content) {
        this.log_content = log_content;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
}
